import { createSlice } from "@reduxjs/toolkit";

const GiftSlice = createSlice({
    name: 'gift',
    initialState: {
        members: []
    },
    reducers: {
        setMembers(state, action) {
            state.members = action.payload
        }
    }
})

export const { setMembers } = GiftSlice.actions
export default GiftSlice